package com.crm.customers.dao;

import com.crm.customers.model.Commission;

public interface CommissionDao {
	
	/**
	 * 保存代办
	 * */
	public Commission saveCommission(Commission c);
	
	/**
	 * 根据id获取代办信息
	 * */
	public Commission getcommissionInfoById(Commission c);
	
	/**
	 * 改变审批状态
	 * */
	public int updateCommissionApprovestate(Commission c);
	
	/**
	 * 更新代办信息 (删除也可以用?)
	 * */
	public int updateCommission(Commission c);
	
	/**
	 * 获取被驳回审批理由
	 * */
	public String getOverruleReason(Commission c);
	
	/**
	 * 根据日期获取代办总额
	 * */
	public Integer getCommMoneyByCreatedate(Commission c);
	
}
